package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.reserved.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 预约管理 Excel VO
 *
 * @author 沣东养老院管理员
 */
@Data
public class ReservedExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty( "老人id ")
    private Integer oldmanId;

    @ExcelProperty("老人身份证")
    private String oldmanIdentityCard;


    @ExcelProperty("房间号 ")
    private Integer roomId;

    @ExcelProperty("探视区域 ")
    private Integer floorRoom;

    @ExcelProperty("手机号")
    private String phone;

    @ExcelProperty("身份证")
    private String identityCard;

    @ExcelProperty("开始时间")
    private LocalDateTime startTime;

    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

    @ExcelProperty("时长")
    private Integer duration;

    @ExcelProperty("来访/请假事由")
    private String details;

    @ExcelProperty("其他信息")
    private String others;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "预约类型 ", converter = DictConvert.class)
    @DictFormat("reserved_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer type;

    @ExcelProperty("预约人姓名或称呼")
    private String name;

    @ExcelProperty("探视老人姓名")
    private String oldmanName;

    @ExcelProperty(value = "审核状态 ", converter = DictConvert.class)
    @DictFormat("oph_audit") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer schedule;

}
